package com.sample.springbatch.scheduling.repository;

import com.sample.springbatch.scheduling.model.QuartzJobInfo;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by zwg on 2016/6/25.
 */
public interface QuartzJobInfoRepository extends PagingAndSortingRepository<QuartzJobInfo,Integer> {


    public List<QuartzJobInfo> findByQuartzIdAndStatus(Integer quartzId, Integer status);

}
